#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>


int main()
{
  printf("I am a process, pid %d, ppid %d\n", getpid(), getppid());

  pid_t id = fork();
  (void)id; //防止程序报警告，这里相当于用一下这个变量

  printf("T am a branch, pid %d, ppid %d\n", getpid(), getppid());

  return 0;
}
